package com.example.HeadFirstDemo.Singleton;

public enum SingletonDemo {
    Instance;
    public SingletonDemo getInstance(){
        return SingletonDemo.Instance;
    }
}
